package com.foreknow.entity;

import java.io.Serializable;
import java.util.Date;

public class Register implements Serializable {
    /**
     * ID主键
     *
     * @mbggenerated
     */
    private Integer id;

    /**
     * 病历号
     *
     * @mbggenerated
     */
    private String casenumber;

    /**
     * 姓名
     *
     * @mbggenerated
     */
    private String realname;

    /**
     * 性别
     *
     * @mbggenerated
     */
    private Integer gender;

    /**
     * 身份证号
     *
     * @mbggenerated
     */
    private String idnumber;

    /**
     * 出生日期
     *
     * @mbggenerated
     */
    private Date birthdate;

    /**
     * 年龄
     *
     * @mbggenerated
     */
    private Integer age;

    /**
     * 年龄类型 岁 月 天
     *
     * @mbggenerated
     */
    private String agetype;

    /**
     * 家庭住址
     *
     * @mbggenerated
     */
    private String homeaddress;

    /**
     * 本次看诊日期
     *
     * @mbggenerated
     */
    private Date visitdate;

    /**
     * 午别  上午/下午
     *
     * @mbggenerated
     */
    private String noon;

    /**
     * 本次挂号科室ID
     *
     * @mbggenerated
     */
    private Integer deptid;

    /**
     * 本次挂号医生ID
     *
     * @mbggenerated
     */
    private Integer userid;

    /**
     * 本次挂号级别ID
     *
     * @mbggenerated
     */
    private Integer registleid;

    /**
     * 结算类别ID
     *
     * @mbggenerated
     */
    private Integer settleid;

    /**
     * 病历本要否  是/否
     *
     * @mbggenerated
     */
    private String isbook;

    /**
     * 挂号时间
     *
     * @mbggenerated
     */
    private Date registtime;

    /**
     * 挂号员ID
     *
     * @mbggenerated
     */
    private Integer registerid;

    /**
     * 本次看诊状态
     *
     * @mbggenerated
     */
    private Integer visitstate;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCasenumber() {
        return casenumber;
    }

    public void setCasenumber(String casenumber) {
        this.casenumber = casenumber;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getIdnumber() {
        return idnumber;
    }

    public void setIdnumber(String idnumber) {
        this.idnumber = idnumber;
    }

    public Date getBirthdate() {
        return birthdate;
    }

    public void setBirthdate(Date birthdate) {
        this.birthdate = birthdate;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getAgetype() {
        return agetype;
    }

    public void setAgetype(String agetype) {
        this.agetype = agetype;
    }

    public String getHomeaddress() {
        return homeaddress;
    }

    public void setHomeaddress(String homeaddress) {
        this.homeaddress = homeaddress;
    }

    public Date getVisitdate() {
        return visitdate;
    }

    public void setVisitdate(Date visitdate) {
        this.visitdate = visitdate;
    }

    public String getNoon() {
        return noon;
    }

    public void setNoon(String noon) {
        this.noon = noon;
    }

    public Integer getDeptid() {
        return deptid;
    }

    public void setDeptid(Integer deptid) {
        this.deptid = deptid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getRegistleid() {
        return registleid;
    }

    public void setRegistleid(Integer registleid) {
        this.registleid = registleid;
    }

    public Integer getSettleid() {
        return settleid;
    }

    public void setSettleid(Integer settleid) {
        this.settleid = settleid;
    }

    public String getIsbook() {
        return isbook;
    }

    public void setIsbook(String isbook) {
        this.isbook = isbook;
    }

    public Date getRegisttime() {
        return registtime;
    }

    public void setRegisttime(Date registtime) {
        this.registtime = registtime;
    }

    public Integer getRegisterid() {
        return registerid;
    }

    public void setRegisterid(Integer registerid) {
        this.registerid = registerid;
    }

    public Integer getVisitstate() {
        return visitstate;
    }

    public void setVisitstate(Integer visitstate) {
        this.visitstate = visitstate;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", casenumber=").append(casenumber);
        sb.append(", realname=").append(realname);
        sb.append(", gender=").append(gender);
        sb.append(", idnumber=").append(idnumber);
        sb.append(", birthdate=").append(birthdate);
        sb.append(", age=").append(age);
        sb.append(", agetype=").append(agetype);
        sb.append(", homeaddress=").append(homeaddress);
        sb.append(", visitdate=").append(visitdate);
        sb.append(", noon=").append(noon);
        sb.append(", deptid=").append(deptid);
        sb.append(", userid=").append(userid);
        sb.append(", registleid=").append(registleid);
        sb.append(", settleid=").append(settleid);
        sb.append(", isbook=").append(isbook);
        sb.append(", registtime=").append(registtime);
        sb.append(", registerid=").append(registerid);
        sb.append(", visitstate=").append(visitstate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}